package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *      一卡通人脸识别系统增量定时同步后台数据记录表
 * </desc>
 *
 * @createDate 2019/07/06
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("smart_card_face_time_pull_info")
public class SmartCardFaceTimePullInfoPO extends BasePO implements Serializable {

    @ItlField("project_id")
    private String projectId;                       // 项目id
    @ItlField("user_id_info")
    private String userIdInfo;                      // 用户userId，多个以逗号隔开
    @ItlField("device_unique_info")
    private String deviceUniqueInfo;                // 设备唯一编码，多个以逗号隔开
    @ItlField(value = "pull_id",logicKey = "key")
    private String pullId;                          // 逻辑主键，同步流水号,用于确认数据是否同步成功
    @ItlField("sync_status")
    private Integer syncStatus;                     // 同步状态标志 1.待同步；2.同步完成
    @ItlField("allow_sync_time")
    private Date allowSyncTime;                     //允许同步的时间

}
